﻿#include "shujushangbao.h"
#include "ui_form1.h"
#include <QDebug>
Form1::Form1(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Form1)
{
    ui->setupUi(this);
    //connect(ui->pushButton,SIGNAL(clicked(bool)),this,SLOT(on_pushButton_clicked()));
}

Form1::~Form1()
{
    delete ui;
}

void Form1::on_pushButton_clicked()
{
    //qDebug()<<"ok"<<endl;

    frm2=new Form2();
    frm2->show();
}

//void Form1::on_pushButton_clicked()
//{
 //   frm2=new Form2(this);
 //   //frm2->setModal(false);
 //   frm2->show();
//}
